Add Street Atlas 2004 Plus, from Jim Bensman a.k.a. junkmailno charter net
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 23 Feb 2004 03:24:03 +0000 (03:24 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 23 Feb 2004 03:24:03 +0000 (03:24 +0000)
gpsbabel/README
gpsbabel/internal_styles.c

index bbf93f7370ca19e1bdc235325860774b7b996ace..c7eac3cea63759f085d4958f98b68f3b7cb2ecbb 100644 (file)
@@ -461,6 +461,21 @@ THE FORMATS
        This is a catch-all used by many Delorme mapping products and
        reads the anr, rte, and rtd formats as either tracks or routes.
        
+    saplus
+
+        This format is for Street Atlas USA 2004 Plus.  
+
+        For geocachers importing data from a tool like GSAK or Spinner,
+        import the file twice in XData.  One will create a file with the
+        Cache description as a hyperlink on the flag.  This can clutter
+        up the screen and when you try to zoom in, it causes problems.
+        So the second one will only have a flag.  Thus you can turn off
+        and on which one you want to view.  The first time you import
+        the file, in the assign field types, check the circle above Full
+        Name and then next.  The second time you import the file do not
+        check any circle and in the second to last column, change URL to
+        none and then click next. Use the same name you used the first
+        time but add -Flag to it.
        
 DATA FILTERS
 
index 93accec7f3f9dbe32ad27c7883a24a52eeb64b89..6c52443d615980bc1d11aa4c13ce1f275252bb29 100644 (file)
@@ -405,6 +405,36 @@ static char s_and_t[] =
 "IFIELD        DESCRIPTION, \"\", \"%s\"               # Name 2 (Big Description)\n"
 "IFIELD        URL, \"\", \"%s\"                       # URL\n"
 "IFIELD        IGNORE, \"\", \"\"                      # Holder for Geocache Type\n"
+;
+static char saplus[] = 
+"# gpsbabel XCSV style file\n"
+"#\n"
+"# Format: \n"
+"# Author: Jim Bensman\n"
+"#   Date: 02/22/04\n"
+"#\n"
+
+"DESCRIPTION             Delorme Street Atlas Plus\n"
+
+"#\n"
+"# FILE LAYOUT DEFINITIIONS:\n"
+"#\n"
+"FIELD_DELIMITER         COMMA\n"
+"RECORD_DELIMITER        NEWLINE\n"
+"BADCHARS                ,\"\n"
+
+"PROLOGUE        Name 2,Name,Latitude,Longitude,URL,Type\n"
+
+"#\n"
+"# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:\n"
+"#\n"
+"IFIELD  DESCRIPTION, \"\", \"%s\"           # Name 2 (Big Description)\n"
+"IFIELD  SHORTNAME, \"\", \"%s\"             # Name\n"
+"IFIELD  LAT_DECIMAL, \"\", \"%f\"           # Latitude\n"
+"IFIELD  LON_DECIMAL, \"\", \"%f\"           # Longitude\n"
+"IFIELD  URL, \"\", \"%s\"                   # URL\n"
+"IFIELD  IGNORE, \"\", \"\"                  # Holder for Geocache Type\n"
+
 ;
 static char tabsep[] = 
 "# gpsbabel XCSV style file\n"
@@ -517,4 +547,4 @@ static char xmapwpt[] =
 "IFIELD        DESCRIPTION, \"\", \"%-.78s\"\n"
 ;
 #include "defs.h"
-style_vecs_t style_list[] = {{ "xmapwpt", xmapwpt } , { "xmap", xmap } , { "tabsep", tabsep } , { "s_and_t", s_and_t } , { "nima", nima } , { "mxf", mxf } , { "mapconverter", mapconverter } , { "gpsman", gpsman } , { "gpsdrive", gpsdrive } , { "fugawi", fugawi } , { "dna", dna } , { "custom", custom } , { "csv", csv } , { "arc", arc } ,  {0,0}};
+style_vecs_t style_list[] = {{ "xmapwpt", xmapwpt } , { "xmap", xmap } , { "tabsep", tabsep } , { "saplus", saplus } , { "s_and_t", s_and_t } , { "nima", nima } , { "mxf", mxf } , { "mapconverter", mapconverter } , { "gpsman", gpsman } , { "gpsdrive", gpsdrive } , { "fugawi", fugawi } , { "dna", dna } , { "custom", custom } , { "csv", csv } , { "arc", arc } ,  {0,0}};